<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/oa/contractType.js?time=' + sys_get_time();
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
		
		}
	});
});
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<div>
	<h3>编辑合同类别信息</h3>
</div>
<div style="width:400px;float:left;">
	<div height="50">
		<form id="editContractTypeForm">
			<table>
				<tr style="height:40px;"><td class="table-left">名称</td>
					<td><input type="text" id="name" name="name" value="${(contractType.name)!''}" />
						<input type="hidden" id="code" name="code" value="${(contractType.code)!''}"/>
					</td>
				</tr>
				<tr style="height:40px;"><td colspan="2" style="text-align: center;">
						<a href="#" class="btn btn-info" onclick="javascript:saveContractType_ContractType(); return false;">
							<i class="icon-save"></i> &nbsp;保&nbsp;&nbsp;存
						</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<a href="#" class="btn btn-primary" onclick="javascript: $.fn.colorbox.close(); return false;">
							<i class="fontello-icon-block"></i>&nbsp;取&nbsp;&nbsp;消
						</a>
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>
